{include file="include:header" /}
<body class="fixed-sidebar full-height-layout gray-bg" >
    <div class="row wrapper border-bottom white-bg page-heading">
        <div class="col-sm-4">
            <h2>{$title}子菜单</h2>
            <!-- 导航部分 -->
            <ol class="breadcrumb">
                <li><a href="{:url('admin/Index/home')}">主页</a></li>
                <li><a href="{:url('admin/Account/menus')}">菜单列表</a></li>
                <li><strong>新增子菜单</strong></li>
            </ol>
        </div>
        <div class="col-sm-8">
            <div class="title-action">
                <!-- 链接部分 -->
                <a href="{:url('admin/Account/sonmenus',array('am_pid'=>$am_pid))}" class="btn btn-primary">子菜单列表</a>
            </div>
        </div>
    </div>
    <!-- 会员列表 -->
    <div class="wrapper wrapper-content">
        <form method="get" class="valid-form form-horizontal admin-menusAdd-son">
            <!-- 基础信息 -->
            <div class="panel panel-default">
                <div class="panel-heading">基础信息</div>
                <div class="panel-body">

                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">子菜单名称</label>
                        <div class="col-sm-4">
                            <input type="text" class="form-control" name="am_mname" value="{$info['am_mname']?$info['am_mname']:''}"  placeholder="子菜单名称" datatype="*" errormsg="请输入子菜单名称" sucmsg=" " />
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">地址URL</label>
                        <div class="col-sm-4">
                            <input type="text" class="form-control" name="am_murl" value="{$info['am_murl']?$info['am_murl']:''}"  placeholder="地址URL" datatype="*" errormsg="请输入地址URL" sucmsg=" " />
                        </div>
                    </div>
                    
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">排序</label>
                        <div class="col-sm-4">
                            <input type="text" class="form-control" name="am_sort" value="{$info['am_sort']?$info['am_sort']:''}"  placeholder="排序" datatype="*" errormsg="请输入排序" sucmsg=" " />
                        </div>
                    </div>
                    
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                      <input type="hidden" name="am_pid" value="{$am_pid}"/>
                      <if condition="$info['admin_menu_id']">
                          <input type="hidden" name="admin_menu_id" value="{$info['admin_menu_id']?$info['admin_menu_id']:''}"/>
                      </if>
                        <div class="col-sm-offset-2 col-sm-6">
                            <a href="javascript:;" class="btn btn-danger submit">确认提交</a>&nbsp;&nbsp;
                            <a class="mg-left-10 btn btn-white" href="/admin/author" alt="取消修改">取消</a>
                        </div>
                    </div>
                </div>
            </div>
            
        </form>
    </div>


</body>
</html>
{include file="include:js" /}
